package com.funi.bo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**********************************************************************
 * &lt;p&gt;文件名：UserBo.java &lt;/p&gt;
 * &lt;p&gt;文件描述：用户业务对象
 * @project_name：code_total
 * @author zengshunyao
 * @create 2025/5/28 20:53
 * @history
 * @department：政务事业部
 * Copyright ChengDu Funi Cloud Code Technology Development CO.,LTD 2014 
 *                    All Rights Reserved.
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
public class UserBo implements Serializable {
    /**
     * git 姓名
     */
    private String name;
    /**
     * git 姓名的拼音
     * = PinyinUtil.getPinyin(this.getName())
     */
    private String namePinYi;
    /**
     * 邮箱
     */
    private String email;

    /**
     * 时间段内参与过的项目业务对象集合
     */
    private List<ProjectBo> involvedProjectBoList = new ArrayList<>();

    public UserBo(String name, String namePinYi, String email) {
        this.name = name;
        this.namePinYi = namePinYi;
        this.email = email;
    }
}
